# Object Mapper

## What's a Object Mapper

There are two kinds of Object Mappers:
  1. Object Relation Mappers (ORM) for relational databases like [PostgreSQL](http://www.postgresql.org/) or [MySQL](http://www.mysql.com/), the famous one being [ActiveRecord](https://github.com/rails/rails/tree/master/activerecord).
  2. Object Document Mappers (ODM) for document based databases like [MongoDB](http://www.mongodb.org/) with [Mongoid](http://mongoid.org)

## Status Quo

At the moment ActiveAdmin fully supports ActiveRecord, and the team is working an supporting Mongoid as well.

## Adding other Object Mappers

### How it works
ActiveAdmin should work well with all Object Mappers wich are [ActiveModel](https://github.com/rails/rails/tree/master/activemodel) based or supports this api.

### Supporting a new Object Mapper
If you want to implement support for a new Object Mapper, take a look at the currently supported [Object Mapper](https://github.com/activeadmin/activeadmin/tree/master/lib/active_admin/orm). We are happy to get pull requests for new Object Mappers.
